package com.motherchild.user.mapper;

import com.motherchild.user.dto.User;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author zhuchenxu
 * @create 2025-03-14-16:38
 */
@Mapper
public interface UserMapper {
    User getUserInfo(Long userId);

    void updateUserInfo(User user);

    boolean updatePassword(Long userId, String newPassword);
}
